Skip to content

Conversation

@joshcooper
Copy link
Collaborator

@joshcooper joshcooper commented Apr 2, 2024

Based on #827

I'm able to build the runtime using public sources. It currently relies on a vanagon PR that hasn't been released yet:

$ export VANAGON_LOCATION=https://github.com/puppetlabs/vanagon#main
$ bundle update
$ docker pull fedora:40                                                  
40: Pulling from library/fedora
Digest: sha256:bd0b8ed03d00b53d8cefab42c6a9ffac4b90a72f8934355a009ac5fb1258040b
Status: Image is up to date for fedora:40
docker.io/library/fedora:40
$ bundle exec vanagon build agent-runtime-main fedora-40-x86_64 -e docker

During iterative development, I sometimes get the following error:

docker: Error response from daemon: Conflict. The container name "/fedora_40-builder" is already in use by container "707cb97e2d4d2f854cddca125fdf66574b7a47f892a1ed86a99e7403fd45508f". You have to remove (or rename) that container to be able to reuse that name.

Which can be resolved with the following:

$ docker kill $(docker ps -q) 
$ docker remove fedora_40-builder 

Change conditional so that the swig generated interface is only patched on older
Debian and Ubuntu.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant